package cn.net.vote.data.schedule;

import java.time.LocalTime;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TimedTask {

    private final Logger log = LoggerFactory.getLogger(this.getClass());

//    @Scheduled(cron = "0 * 9 * * ?")
    public void say(){
    	LocalTime now = LocalTime.now();
        log.info("now" +now);
    }
}
